<?php 
session_start();
$config = array();

 if($_SERVER['SERVER_NAME'] == 'www.miketysongear.com' )
{
	error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);

	$db_host     = "localhost";
	$db_name     = "miketyso_cart";
	$db_user     = "miketyso_user123";
	$db_pass     = "miketyso_pass123";
	
	$config['basedir']  =  "/home/miketyso/public_html";
	$config['baseurl']  =  "http://www.miketysongear.com";
}
elseif($_SERVER['SERVER_NAME'] != 'localhost' )
{	
	error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);


 	$db_host     = "localhost";
	$db_name     = "cricketp_miketyson";
	$db_user     = "cricketp_mk";
	$db_pass     = "miketyson123";
	
	$config['basedir']  =  "/home/cricketp/public_html/miketyson";
	$config['baseurl']  =  "http://cricketpk.net/miketyson";
}
else
{
	error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);

	$db_host     = "localhost";
	$db_name     = "miketyson";
	$db_user     = "root";
	$db_pass     = "vertrigo";
	
	$config['basedir']  =  "D:/VertrigoServ/www/miketyson";
	$config['baseurl']  =  "http://localhost/miketyson";
}



include($config['basedir'] . "/include/class_db.php");
$db = new Database($db_host, $db_user, $db_pass, $db_name);
$db->connect();
include($config['basedir'] . "/include/classes/class_language.php");
include($config['basedir'] . "/include/classes/class_paginate.php");
include($config['basedir'] . "/include/messages.php");
include($config['basedir'] . "/include/core.php");

